package elephant.servers.consoleserver.command.rpcserver;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * 
 * @author icecooly
 *
 */
public class RPCSessionInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//
	public int id;
	public String clientUuid;
	public String remoteHost;
	public int remotePort;
	public String serverCluster;
	public Set<String>topics;
	public Date createTime;
	public Date lastAccessDate;
	//
	public RPCSessionInfo(){
		
	}
	//
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getRemoteHost() {
		return remoteHost;
	}
	public void setRemoteHost(String remoteHost) {
		this.remoteHost = remoteHost;
	}
	public int getRemotePort() {
		return remotePort;
	}
	public void setRemotePort(int remotePort) {
		this.remotePort = remotePort;
	}
	public Set<String> getTopics() {
		return topics;
	}
	public void setTopics(Set<String> topics) {
		this.topics = topics;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastAccessDate() {
		return lastAccessDate;
	}
	public void setLastAccessDate(Date lastAccessDate) {
		this.lastAccessDate = lastAccessDate;
	}
	/**
	 * @return the clientUuid
	 */
	public String getClientUuid() {
		return clientUuid;
	}
	/**
	 * @param clientUuid the clientUuid to set
	 */
	public void setClientUuid(String clientUuid) {
		this.clientUuid = clientUuid;
	}
	/**
	 * @return the serverCluster
	 */
	public String getServerCluster() {
		return serverCluster;
	}
	/**
	 * @param serverCluster the serverCluster to set
	 */
	public void setServerCluster(String serverCluster) {
		this.serverCluster = serverCluster;
	}
	
}
